using UnityEngine;

public class VehiclesCreatePlayer : MonoBehaviour
{
	public GameObject[] _PlayerPref;

	public Transform[] posSpawn;

	public GameObject _Player(int index)
	{
		return UnityEngine.Object.Instantiate(_PlayerPref[index], posSpawn[index].position, _PlayerPref[index].transform.rotation);
	}
}
